

set(SRC
  src/MarchingCubes.c
  src/nii2mesh.c
  src/isolevel.c
  src/meshify.c
  src/quadric.c
  src/base64.c
  src/bwlabel.c
  src/radixsort.c
)

file(GLOB_RECURSE HDR RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.h)
append_cmsh_src(contrib/nii2mesh "${SRC};${HDR}")
